import React from 'react'

import { useParams } from 'react-router-dom'

export default function PostDetail() {
  const param = useParams()
  console.log(param)
  return (
    <div>
      hello world，{param.id}
    </div>
  )
}